load("@build_bazel_rules_swift//swift:swift.bzl", "swift_library")

swift_library(
    name = "ChatTextInputPanelNode",
    module_name = "ChatTextInputPanelNode",
    srcs = glob([
        "Sources/**/*.swift",
    ]),
    copts = [
        "-warnings-as-errors",
    ],
    deps = [
        "//submodules/Display",
        "//submodules/AsyncDisplayKit",
        "//submodules/SSignalKit/SwiftSignalKit",
        "//submodules/Postbox",
        "//submodules/TelegramCore",
        "//submodules/TelegramPresentationData",
        "//submodules/TextFormat",
        "//submodules/AccountContext",
        "//submodules/TouchDownGesture",
        "//submodules/ImageTransparency",
        "//submodules/ActivityIndicator",
        "//submodules/AnimationUI",
        "//submodules/Speak",
        "//submodules/ObjCRuntimeUtils",
        "//submodules/AvatarNode",
        "//submodules/ContextUI",
        "//submodules/InvisibleInkDustNode",
        "//submodules/TextInputMenu",
        "//submodules/Pasteboard",
        "//submodules/ChatPresentationInterfaceState",
        "//submodules/ManagedAnimationNode",
        "//submodules/AttachmentUI",
        "//submodules/TelegramUI/Components/EditableChatTextNode",
        "//submodules/TelegramUI/Components/EmojiTextAttachmentView",
        "//submodules/Components/LottieAnimationComponent",
        "//submodules/ComponentFlow",
        "//submodules/TelegramUI/Components/EmojiSuggestionsComponent",
        "//submodules/TelegramUI/Components/ChatControllerInteraction",
        "//submodules/UndoUI",
        "//submodules/PremiumUI",
        "//submodules/StickerPeekUI",
        "//submodules/TelegramUI/Components/LottieComponent",
        "//submodules/SolidRoundedButtonNode",
        "//submodules/TooltipUI",
        "//submodules/TelegramUI/Components/ChatTextInputMediaRecordingButton",
        "//submodules/ChatContextQuery",
        "//submodules/TelegramUI/Components/Chat/ChatInputTextNode",
        "//submodules/TelegramUI/Components/Chat/ChatInputPanelNode",
        "//submodules/TelegramNotices",
        "//submodules/AnimatedCountLabelNode",
        "//submodules/TelegramStringFormatting",
        "//submodules/TelegramUI/Components/TextNodeWithEntities",
        "//submodules/Utils/DeviceModel",
        "//submodules/PhotoResources",
        "//submodules/TelegramUI/Components/Chat/ChatTextInputSlowmodePlaceholderNode",
        "//submodules/TelegramUI/Components/Chat/ChatTextInputActionButtonsNode",
        "//submodules/TelegramUI/Components/Chat/ChatTextInputAudioRecordingTimeNode",
        "//submodules/TelegramUI/Components/Chat/ChatTextInputAudioRecordingCancelIndicator",
        "//submodules/TelegramUI/Components/Chat/ChatRecordingViewOnceButtonNode",
        "//submodules/TelegramUI/Components/GlassBackgroundComponent",
        "//submodules/TelegramUI/Components/Chat/ChatInputAccessoryPanel",
        "//submodules/TelegramUI/Components/Chat/ChatInputAutocompletePanel",
        "//submodules/TelegramUI/Components/Chat/ChatRecordingPreviewInputPanelNode",
        "//submodules/TelegramUI/Components/Chat/ChatInputContextPanelNode",
    ],
    visibility = [
        "//visibility:public",
    ],
)
